<?php
/**
 * Created by PhpStorm.
 * User: xiong <1099446868@qq.com>
 * DateTime: 2018/10/31
 * TIME: 18:32
 */

namespace app\index\validate;


class UserSignValidate extends BaseValidate {

    protected $rule = [
        'password'  => 'require|chsDash|length:6,20',
        '__token__' => 'require|token'
    ];

    protected $message = [
        'password.require'    => '用户名密码不正确',
        'password.chsDash'    => '用户名密码不正确',
        'password.length'     => '用户名密码不正确',
    ];
}